From dcf4ad51ba9f0bd1a345c30f15b8bfaa32d2aee2 Mon Sep 17 00:00:00 2001 From: robertl Date: Thu, 18 May 2006 18:51:53 +0000 Subject: [PATCH] Add container and cache type to HTML and TEXT outputs. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2096 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/html.c | 4 ++++ gpsbabel/text.c | 2 ++ 2 files changed, 6 insertions(+) diff --git a/gpsbabel/html.c b/gpsbabel/html.c index dd725ffac..fe0b2d765 100644 --- a/gpsbabel/html.c +++ b/gpsbabel/html.c @@ -104,6 +104,10 @@ html_disp(const waypoint *wpt) } fprintf(file_out, "\n"); if (wpt->gc_data.terr) { + fprintf(file_out, "

%s

\n", + gs_get_cachetype(wpt->gc_data.type), gs_get_container(wpt->gc_data.container)); + fprintf(file_out, "

%s\n", + gs_get_container(wpt->gc_data.container)); if (wpt->gc_data.desc_short.utfstring) { char *tmpstr = strip_nastyhtml(wpt->gc_data.desc_short.utfstring); fprintf (file_out, "

%s

\n", tmpstr ); diff --git a/gpsbabel/text.c b/gpsbabel/text.c index d1a405e2a..734a6d71f 100644 --- a/gpsbabel/text.c +++ b/gpsbabel/text.c @@ -94,6 +94,8 @@ text_disp(const waypoint *wpt) fprintf(file_out, "%s\n", wpt->description); } if (wpt->gc_data.terr) { + fprintf(file_out, "%s/%s\n", + gs_get_cachetype(wpt->gc_data.type), gs_get_container(wpt->gc_data.container)); if (wpt->gc_data.desc_short.utfstring) { char *stripped_html = strip_html(&wpt->gc_data.desc_short); fprintf (file_out, "\n%s\n", stripped_html); -- 2.30.2